TCGBIOS fixes and cleanups.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 15 Mar 2007 10:36:10 +0000 (10:36 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 15 Mar 2007 10:36:10 +0000 (10:36 +0000)
commite18371883e951959e8328e2f2ea780088afaf01c
tree7156243bccb36fda93d0fd603bbbe061943f483e
parent607ea0279756594ce1193daf5d0d67c19f96a43c
TCGBIOS fixes and cleanups.

- Add a missing break into the switch statement
- Simplify the code that switches from protected mode into real mode
  by letting it spill eax; this also fixes the case where the stack is
  above 0xffff.
- reformat the source for 80 columns
- remove some comments that were relevant when the TCG extensions were
  direct part of the real-mode Bochs BIOS

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/firmware/rombios/32bit/tcgbios/tcgbios.c
tools/firmware/rombios/32bitgateway.c
tools/firmware/rombios/tcgbios.c